package com.shaoshaohuo.app.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/6/10.
 */

public class DeliverQueryENtity extends BaseEntity implements Serializable {

    /**
     * code : 0
     * msg : ok
     * data : [{"name":"李二头","phone":"15554206361","province":"山东省","city":"青岛市","county":"崂山区","details":"天堂中路250号","type":"1","default":"0","addressid":"7","longitude":"120.365489","latitude":"36.2145321"},{"name":"李大头","phone":"15554206361","province":"山东省","city":"青岛市","county":"崂山区","details":"天堂中路250号","type":"1","default":"0","addressid":"8","longitude":"120.365489","latitude":"36.2145321"},{"name":"李三头","phone":"15554206361","province":"山东省","city":"青岛市","county":"崂山区","details":"天堂中路250号","type":"1","default":"0","addressid":"9","longitude":"120.365489","latitude":"36.2145321"},{"name":"李四头","phone":"15554206361","province":"山东省","city":"青岛市","county":"崂山区","details":"天堂中路250号","type":"1","default":"0","addressid":"10","longitude":"120.365489","latitude":"36.2145321"},{"name":"李五头","phone":"15554206361","province":"山东省","city":"青岛市","county":"崂山区","details":"天堂中路250号","type":"1","default":"1","addressid":"11","longitude":"120.365489","latitude":"36.2145321"}]
     * secure : 0
     */


    private List<DataBean> data;


    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * name : 李二头
         * phone : 15554206361
         * province : 山东省
         * city : 青岛市
         * county : 崂山区
         * details : 天堂中路250号
         * type : 1
         * default : 0
         * addressid : 7
         * longitude : 120.365489
         * latitude : 36.2145321
         */
        private String addressnum;

        public String getAddressnum() {
            return addressnum;
        }

        public void setAddressnum(String addressnum) {
            this.addressnum = addressnum;
        }

        private String areaid;

        public String getAreaid() {
            return areaid;
        }

        public void setAreaid(String areaid) {
            this.areaid = areaid;
        }

        private String name;
        private String phone;
        private String province;
        private String city;
        private String county;
        private String details;
        private String type;
        @SerializedName("default")
        private String defaultX;
        private String addressid;
        private String longitude;
        private String latitude;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCounty() {
            return county;
        }

        public void setCounty(String county) {
            this.county = county;
        }

        public String getDetails() {
            return details;
        }

        public void setDetails(String details) {
            this.details = details;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getDefaultX() {
            return defaultX;
        }

        public void setDefaultX(String defaultX) {
            this.defaultX = defaultX;
        }

        public String getAddressid() {
            return addressid;
        }

        public void setAddressid(String addressid) {
            this.addressid = addressid;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }
    }
}
